<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>
        登录
    </title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content=" Master  Login Form Widget Tab Form,Login Forms,Sign up Forms,Registration Forms,News letter Forms,Elements"/>
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
    <link href="//fonts.googleapis.com/css?family=Cormorant+SC:300,400,500,600,700" rel="stylesheet">
    <link href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i" rel="stylesheet">
</head>

<body>
<div class="padding-all">
    <div style="text-align: center;color: red" align="center"><h1>${MSG}</h1></div>
    <div class="header">
        <h1>WELCOME TO PPX</h1>
    </div>

    <div class="design-w3l">
        <div class="mail-form-agile">
            <form action="login.do" method="post">
                <input type="text" name="username" id="username" placeholder="请输入用户名" required=""/>
                <input type="password"  name="password" id="password" class="padding" placeholder="密码" required=""/>
                <input type="submit" value="登录">
            </form>
        </div>
    </div>
    <div class="footer" style="color: #ffffff;">
        <p>
        <center>
            ©皮皮虾网团购 pipixiawaimai.com &nbsp;&nbsp;京ICP证12345678号 &nbsp;&nbsp;京ICP备12345679号<br/>
            食品经营许可证&nbsp;&nbsp;互联网美食证<br />
            版权 ©runoob.com
        </center>
        </p>
    </div>
</div>
</body>
<script src="js/jquery.js"></script>
<script>
    $("#login").click(function () {
        var username=$("#username").val();
        var password=$("#password").val();
        if(username==''||username==null||username==undefined){
            alert("请输入用户名！");
        }
        else if(password==''||password==null||password==undefined){
            alert("请输入密码！");
        }
        else{
            $("#login_form").submit();
        }
    })
</script>
</html>
